package org.jsola.hr.vo.payAli.safetyPay;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import lombok.Data;

/**
 * 异步通知参数(安全发批量转账)
 *
 * @author zhr
 */
@ApiModel(description = "异步通知参数(安全发批量转账)")
@Data
public class BizContentSafety {

    /**
     * 商户端的唯一订单号
     */
    @JSONField(name = "out_batch_no")
    private String outBatchNo;

    /**
     * 销售产品码，BATCH_API_TO_ACC_NO_PWD
     */
    @JSONField(name = "product_code")
    private String productCode;

    /**
     * 业务场景，MESSAGE_SATF_BATCH_PAY
     */
    @JSONField(name = "biz_scene")
    private String bizScene;

    /**
     * 请求来源的接口
     * alipay.fund.batch.create
     */
    @JSONField(name = "origin_interface")
    private String originInterface;

    /**
     * 支付宝批次订单号
     */
    @JSONField(name = "batch_trans_id")
    private String batchTransId;

    /**
     * 付款方支付宝uid
     */
    @JSONField(name = "payer_user_id")
    private String payerUserId;

    /**
     * 批次状态。
     * INIT 批次已接收
     * WAIT_PAY等待付款
     * SUCCESS 批次处理成功（全部或者部分成功）
     * FAIL 全部处理失败
     * INVALID 批次无效
     * CLOSED 批次无效
     */
    @JSONField(name = "batch_status")
    private String batchStatus;

    /**
     * 批次明细总笔数
     */
    @JSONField(name = "total_count")
    private String totalCount;

    /**
     * 成功笔数
     */
    @JSONField(name = "success_count")
    private String successCount;

    /**
     * 失败笔数
     */
    @JSONField(name = "fail_count")
    private String failCount;

    /**
     * 批次的总金额
     */
    @JSONField(name = "total_amount")
    private String totalAmount;

    /**
     * 明细处理成功的支付汇总金额
     */
    @JSONField(name = "success_amount")
    private String successAmount;

    /**
     * 明细处理失败的支付汇总金额。
     */
    @JSONField(name = "fail_amount")
    private String failAmount;


}

